#ifndef WALL_H
#define WALL_H

#include "Entity.h"

class AttackWallMediator;
class Wall : public Entity
{
public:
	Wall(const EEntityType& entity_type, AttackWallMediator* attatck_wall_mediator);
	~Wall(void);

	virtual void Init(SceneObject* scene_object, Grid* grid);
	virtual void Update(float deltatime);

	void SetGridPosition(unsigned int x, unsigned int y);
	void SetHealth(int health) { m_health = health; }
	void ModifyHealth(int health_mod) { m_health += health_mod; }
	int GetHealth() const { return m_health; }

protected:
	AttackWallMediator* m_attack_wall_mediator;

	int m_health;
};

#endif //WALL_H